/*
 * @Description: 
 * @Author: Aroma
 * @Date: 2024-09-19 20:38:31
 * @LastEditors: Aroma
 * @LastEditTime: 2024-09-19 20:38:34
 * @别瞎看: 你个无脑牛马
 */
// Salesman 类
class Salesman extends Employee {
    private double baseSalary;
    private double salesBonus;

    public Salesman(String name, String gender, String birthDate, double baseSalary, double salesBonus) {
        super(name, gender, birthDate, "Salesman");
        this.baseSalary = baseSalary;
        this.salesBonus = salesBonus;
    }

    public double calculateSalary() {
        return baseSalary + salesBonus;
    }
}